package com.example.tse.rbyair.util;

import android.app.Application;

import com.nostra13.universalimageloader.core.ImageLoader;
import com.nostra13.universalimageloader.core.ImageLoaderConfiguration;

/**
 * Created by tse on 16/1/4.
 */
public class MyApplication extends Application {

    @Override
    public void onCreate() {
        super.onCreate();
//        Fresco.initialize(getApplicationContext());


        ImageLoaderConfiguration configuration = new ImageLoaderConfiguration.Builder(this)
                .writeDebugLogs() //打印log信息
                .build();
        ImageLoader.getInstance().init(configuration);


//        RbImageLoader.init(getApplicationContext());



    }
}
